package com.example.mq.consumer;
import com.example.mq.dto.Msg;
import com.example.po.OrderPO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;
/*
@description:
@ClassName OrderConsumer
@author chen
@create 2025-08-22 15:38
@Version 1.0
*/
@Slf4j
@Component
public class OrderConsumer extends AbstractIdempotentConsumer<OrderPO, Msg<OrderPO>>
{
    @RabbitListener(queues = "orderQueue")
    public void dispose(Message message)
    {
        super.dispose(message);
    }

    @Override
    protected void disposeIn(Message message, OrderPO body)
    {

    }
}
